package spring.cloud.chapter2.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

//import io.github.yedaxia.apidocs.Ignore;
@ApiModel(value = "Account",description = "账户属性实体列")
public class Account {

//    @Ignore
    @ApiModelProperty(value = "账户ID")
    private Long id;    //账户ID
    @ApiModelProperty(value = "账户名称")
    private String accountName;     //账户名称
    @ApiModelProperty(value = "账户资金")
    private Double balance;     //账户资金
    @ApiModelProperty(value = "账户描述")
    private String note;        //账户描述

    public Long getId() {
        return id;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", accountName='" + accountName + '\'' +
                ", balance=" + balance +
                ", note='" + note + '\'' +
                '}';
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
